home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / OutOfPhase1.01Source / OutOfPhase Folder / TieTracking.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-01  |  1.0 KB  |  40 lines  |  [TEXT/KAHL]

  1. /* TieTracking.h */
  2.  
  3. #ifndef Included_TieTracking_h
  4. #define Included_TieTracking_h
  5.  
  6. /* TieTracking module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* NoteObject */
  12. /* Array */
  13. /* Memory */
  14.  
  15. struct TieTrackRec;
  16. typedef struct TieTrackRec TieTrackRec;
  17.  
  18. /* forwards */
  19. struct NoteObjectRec;
  20.  
  21. /* create a new tie tracking record */
  22. TieTrackRec*            NewTieTracker(void);
  23.  
  24. /* dump the tie tracker thing */
  25. void                            DisposeTieTracker(TieTrackRec* TieTracker);
  26.  
  27. /* find out if there is a tie source in the object for the destination. */
  28. /* the pair is removed from the list */
  29. MyBoolean                    GetTieSourceFromDestination(TieTrackRec* TieTracker,
  30.                                         long* SourcePixelX, long* SourcePixelY,
  31.                                         struct NoteObjectRec** SourceNote,
  32.                                         struct NoteObjectRec* CurrentNote);
  33.  
  34. /* add a new tie pair to the list of tie pairs */
  35. MyBoolean                    AddTiePairToTieTracker(TieTrackRec* TieTracker,
  36.                                         struct NoteObjectRec* SourceNote, long SourcePixelX,
  37.                                         long SourcePixelY, struct NoteObjectRec* DestinationNote);
  38.  
  39. #endif
  40.